package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class TemplateConfig implements Serializable {
    private Integer id;

    private Integer templateId;

    private Integer type;

    private Integer pointX;

    private Integer pointY;

    private Integer imgWidth;

    private Integer imgHeight;

    private String imgUrl;

    private String fontName;

    private Integer fontStyle;

    private Integer fontSize;

    private String fontColor;

    private String fontContent;

    private Integer fontCenter;

    private Integer sort;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public TemplateConfig(Integer id, Integer templateId, Integer type, Integer pointX, Integer pointY, Integer imgWidth, Integer imgHeight, String imgUrl, String fontName, Integer fontStyle, Integer fontSize, String fontColor, String fontContent, Integer fontCenter, Integer sort, Date createTime, Date updateTime) {
        this.id = id;
        this.templateId = templateId;
        this.type = type;
        this.pointX = pointX;
        this.pointY = pointY;
        this.imgWidth = imgWidth;
        this.imgHeight = imgHeight;
        this.imgUrl = imgUrl;
        this.fontName = fontName;
        this.fontStyle = fontStyle;
        this.fontSize = fontSize;
        this.fontColor = fontColor;
        this.fontContent = fontContent;
        this.fontCenter = fontCenter;
        this.sort = sort;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public TemplateConfig() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPointX() {
        return pointX;
    }

    public void setPointX(Integer pointX) {
        this.pointX = pointX;
    }

    public Integer getPointY() {
        return pointY;
    }

    public void setPointY(Integer pointY) {
        this.pointY = pointY;
    }

    public Integer getImgWidth() {
        return imgWidth;
    }

    public void setImgWidth(Integer imgWidth) {
        this.imgWidth = imgWidth;
    }

    public Integer getImgHeight() {
        return imgHeight;
    }

    public void setImgHeight(Integer imgHeight) {
        this.imgHeight = imgHeight;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public String getFontName() {
        return fontName;
    }

    public void setFontName(String fontName) {
        this.fontName = fontName == null ? null : fontName.trim();
    }

    public Integer getFontStyle() {
        return fontStyle;
    }

    public void setFontStyle(Integer fontStyle) {
        this.fontStyle = fontStyle;
    }

    public Integer getFontSize() {
        return fontSize;
    }

    public void setFontSize(Integer fontSize) {
        this.fontSize = fontSize;
    }

    public String getFontColor() {
        return fontColor;
    }

    public void setFontColor(String fontColor) {
        this.fontColor = fontColor == null ? null : fontColor.trim();
    }

    public String getFontContent() {
        return fontContent;
    }

    public void setFontContent(String fontContent) {
        this.fontContent = fontContent == null ? null : fontContent.trim();
    }

    public Integer getFontCenter() {
        return fontCenter;
    }

    public void setFontCenter(Integer fontCenter) {
        this.fontCenter = fontCenter;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}